#! /bin/bash

# a simple shell script that can be used for daily backups 
# Database
/usr/bin/mysqldump -u redmine -p123456 redmine | gzip > /home/bruce/redmine/backup/db/redmine_`date +%y_%m_%d`.gz

# Attachments
# rsync -a /path/to/redmine/files /path/to/backup/files
